package com.sz.model;

import org.springframework.data.annotation.Id;
import tk.mybatis.mapper.annotation.KeySql;

public class BankType {
    public BankType() {
    }

    public BankType(Integer pkTypeId, String typeName, Long typeQuota) {
        this.pkTypeId = pkTypeId;
        this.typeName = typeName;
        this.typeQuota = typeQuota;
    }

    @Override
    public String toString() {
        return "BankType{" +
                "pkTypeId=" + pkTypeId +
                ", typeName='" + typeName + '\'' +
                ", typeQuota=" + typeQuota +
                '}';
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_type.pk_type_id
     *
     * @mbggenerated
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer pkTypeId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_type.type_name
     *
     * @mbggenerated
     */
    private String typeName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column bank_type.type_quota
     *
     * @mbggenerated
     */
    private Long typeQuota;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_type.pk_type_id
     *
     * @return the value of bank_type.pk_type_id
     *
     * @mbggenerated
     */
    public Integer getPkTypeId() {
        return pkTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_type.pk_type_id
     *
     * @param pkTypeId the value for bank_type.pk_type_id
     *
     * @mbggenerated
     */
    public void setPkTypeId(Integer pkTypeId) {
        this.pkTypeId = pkTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_type.type_name
     *
     * @return the value of bank_type.type_name
     *
     * @mbggenerated
     */
    public String getTypeName() {
        return typeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_type.type_name
     *
     * @param typeName the value for bank_type.type_name
     *
     * @mbggenerated
     */
    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column bank_type.type_quota
     *
     * @return the value of bank_type.type_quota
     *
     * @mbggenerated
     */
    public Long getTypeQuota() {
        return typeQuota;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column bank_type.type_quota
     *
     * @param typeQuota the value for bank_type.type_quota
     *
     * @mbggenerated
     */
    public void setTypeQuota(Long typeQuota) {
        this.typeQuota = typeQuota;
    }
}